package com.chezai.client.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;

/**
 * Describe 终端参数
 * Created by LZF on 2016/8/23.
 */
@Entity
public class TerminalParameter {
    public static final String APP_PARAM = "2";
    public static final String TERMINAL_PARAM = "1";


    @Id(autoincrement = true)
    private Long _ID;
    @Unique
    private long id;// 参数id
    private String value;//值
    private String type;//类型 1 终端 2应用参数
    private String description;//描述

    public TerminalParameter() {

    }

    public TerminalParameter(long id, String value, String description) {
        this.id = id;
        this.value = value;
        this.description = description;
    }

    public TerminalParameter(long id, String value, String type, String description) {
        this.id = id;
        this.value = value;
        this.type = type;
        this.description = description;
    }

    @Generated(hash = 1590118117)
    public TerminalParameter(Long _ID, long id, String value, String type,
                             String description) {
        this._ID = _ID;
        this.id = id;
        this.value = value;
        this.type = type;
        this.description = description;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long get_ID() {
        return this._ID;
    }

    public void set_ID(Long _ID) {
        this._ID = _ID;
    }
}
